package com.woniuxy.lab.woniu_lab.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel("用户个人信息")
public class UserDto {
    /**
     * 手机号
     */
    @ApiModelProperty(value = "用户手机号", example = "13340239144")
    private String phone;

    /**
     * 昵称(长度在2至10字)
     */
    @ApiModelProperty(value = "用户昵称", example = "lucas")
    private String nickname;

    /**
     * 头像地址
     */
    @ApiModelProperty(value = "用户头像", example = "/")
    private String pic;

    /**
     * ctf积分
     */
    @ApiModelProperty(value = "用户CTF积分", example = "5")
    private Integer ctfScore;

    /**
     * 靶场积分
     */
    @ApiModelProperty(value = "用户EXPER积分", example = "10")
    private Integer rangeScore;

    /**
     * 会员(NORMAL/VIP/SVIP)
     */
    @ApiModelProperty(value = "用户特权等级", example = "VIP")
    private String vip;

    /**
     * VIP过期时间(仅当VIP时该字段有意义)
     */
    @ApiModelProperty(value = "用户VIP过期时间", example = "LocalDateTime")
    private LocalDateTime vipTime;

    /**
     * 账户余额
     */
    @ApiModelProperty(value = "用户账户余额", example = "100.00")
    private BigDecimal balance;

    /**
     * 夺旗赛完成数量
     */
    @ApiModelProperty(value = "用户CTF完成数量", example = "1")
    private Integer ctfCount;

    /**
     * 实验完成数量
     */
    @ApiModelProperty(value = "用户EXPER完成数量", example = "3")
    private Integer experCount;

    /**
     * 消费总金额
     */
    @ApiModelProperty(value = "用户消费总额", example = "10000.00")
    private BigDecimal totalMoney;


}
